package osami.communication;

/**
 * Interface for Address
 * @author osami
 *
 */
public interface Address
{
	/**
	 * returns the address as a string
	 * @return String
	 */
	public String toString();
	/**
	 * Compares the address given to existing connections and returns the result as boolean
	 * 
	 * @param aAddress 
	 * @return Boolean
	 */
	public boolean equals( Address aAddress );
	/**
	 * returns the hostname as a string
	 * @return String
	 */
	public String getHostName();
}
